using System;
using System.Net;

namespace LiveWebService.ManageDomain
{
	/// <summary>
	/// EventArgs class for representing an HTTP request prior to sending request data.
	/// </summary>
	/// <copyright>Copyright (C) 2007 Microsoft Corporation.  All rights reserved.</copyright>
	/// <disclaimer>
	/// Samples have not been formally tested by Microsoft, and Microsoft makes no claims and implies no warrenties
	/// regarding the samples.  For more information, see the Terms Of Use.
	/// </disclaimer>
	public class ModifyWebRequestEventArgs: EventArgs
	{
		private readonly HttpWebRequest webRequest;

		/// <summary>
		/// 
		/// </summary>
		/// <param name="webRequest"></param>
		public ModifyWebRequestEventArgs(HttpWebRequest webRequest)
		{
			this.webRequest = webRequest;
		}

		/// <summary>
		/// 
		/// </summary>
		public HttpWebRequest WebRequest
		{
			get
			{
				return this.webRequest;
			}
		}
	}
}